package vn.edu.saigontech.ncms.service;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import vn.edu.saigontech.ncms.model.result.PlacementTest;
import vn.edu.saigontech.ncms.service.impl.PlacementTestServiceImpl;

public interface PlacementTestService extends GenericService<PlacementTest, Long> {
	
	static final PlacementTestService INSTANCE = new PlacementTestServiceImpl();
	
	PlacementTest findByStudentId(Long studentId);
	
	PlacementTest findByReceiptNo(String receiptNo);
	
	Collection<PlacementTest> find(PlacementTest placementTest);
	
	Collection<PlacementTest> findByMonth(int month, int year);
	
	List<PlacementTest> findByDate(Date fromDate, Date toDate);
	
	boolean deleteByStudentId(Long studentId);
	
	int countInMonth(int month, int year);
	
	PlacementTest createBlankPlacementTest();
}